package com.xuecheng.auth.domain.feginclient;

import com.xuecheng.auth.domain.model.dto.CheckCodeVerifyDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @Author: LiJunXi
 * @Description:
 * @Date: 2024-09-08  13:40
 */
@FeignClient(value = "checkcode-service")
public interface CheckCodeServiceClient {

    @PostMapping("/checkcode/verify")
    Boolean verify(@RequestBody CheckCodeVerifyDto checkCodeVerifyDto);



}
